Skip to content

Fix Hugo 0.157.0 compatibility for Docsy theme#1812

Closed
Copilot wants to merge 3 commits intodependabot/npm_and_yarn/docs/multi-89fa4a6c67from
copilot/sub-pr-1774
Closed

Fix Hugo 0.157.0 compatibility for Docsy theme#1812
Copilot wants to merge 3 commits intodependabot/npm_and_yarn/docs/multi-89fa4a6c67from
copilot/sub-pr-1774

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 29, 2026

Thank you for helping make the Radius documentation better!

Please follow this checklist before submitting:

  • Read the contribution guide
  • Commands include options for Linux, MacOS, and Windows within codetabs
  • New file and folder names are globally unique
  • Page references use shortcodes instead of markdown or URL links
  • Images use HTML style and have alternative text
  • Places where multiple code/command options are given have codetabs

In addition, please fill out the following to help reviewers understand this pull request:

Description

The Dependabot bump of hugo-extended from 0.117.0 to 0.157.0 breaks the website build because Hugo 0.157.0 removed several deprecated APIs still used by the pinned Docsy theme (v0.6.0). This PR adds local layout overrides to restore compatibility.

Removed APIs → replacements via layout overrides:

  • _internal/google_analytics_async.html template removed → partials/head.html now uses only _internal/google_analytics.html
  • .Site.GoogleAnalytics.Site.Config.Services.GoogleAnalytics.ID in docs/list.html, swagger/list.html, _default/content.html
  • .Site.Author.Site.Params.author in _default/list.rss.xml
  • .Site.DisqusShortname.Site.Config.Services.Disqus.Shortname in all list/content templates

Stricter YAML parsing:

  • Removed duplicate type: docs front matter key in jaeger/index.md and zipkin/index.md

Issue reference


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI and others added 2 commits March 29, 2026 01:24
- Override partials/head.html to remove deprecated _internal/google_analytics_async.html template
- Override docs/list.html, swagger/list.html, _default/content.html to replace .Site.GoogleAnalytics with .Site.Config.Services.GoogleAnalytics.ID
- Override _default/list.rss.xml to replace .Site.Author with .Site.Params.author
- Fix .Site.DisqusShortname → .Site.Config.Services.Disqus.Shortname
- Remove duplicate 'type: docs' front matter key in jaeger and zipkin trace guides

Agent-Logs-Url: https://github.com/radius-project/docs/sessions/c2afbfec-752b-4d22-bad7-1e2846ac715a

Co-authored-by: brooke-hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Agent-Logs-Url: https://github.com/radius-project/docs/sessions/c2afbfec-752b-4d22-bad7-1e2846ac715a

Co-authored-by: brooke-hamilton <45323234+brooke-hamilton@users.noreply.github.com>
Copilot AI changed the title [WIP] Bump yauzl and hugo-extended in /docs Fix Hugo 0.157.0 compatibility for Docsy theme Mar 29, 2026
Copilot AI requested a review from brooke-hamilton March 29, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants